﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoNetDrive.Protocol.Fingerprint.Test.Model
{

    [SugarTable(TableName = "Record")]
    public class RecordDBModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string SN { get; set; }
        //记录序号
        public int RecordNum { get; set; }

        //记录时间
        public DateTime RecordTime { get; set; }

        public int RecordCode { get; set; }

        public string RecordCodeTitle { get; set; }

        //用户号
        public uint UserID { get; set; }

        //进/出  1--进入  0--出
        public int IsEntry { get; set; }
         
        public float BodyTemperature { get; set; }

        public int Photo { get; set; }

        public int PhotoSize { get; set; }

        [SugarColumn(IsNullable = true)]
        public string PhotoFile { get; set; }

        public DateTime CreateTime { get; set; }
    }
}



